<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <title>Powered by SimplifyPHP</title>

    <?php
    echo $this->Html->css('reset');
    echo $this->Html->css('reset5');
    
    echo $this->Html->css('jquery-ui/ui-lightness/jquery-ui-1.7.2.custom');
    echo $this->Html->css('jquery-ui/ui-lightness/amp');
    
    echo $this->Html->css('960/960');
    
    echo $this->Javascript->link('jquery/jquery.min.js');
    echo $this->Javascript->link('jquery/jquery.sha1.js');
    echo $this->Javascript->link('jquery/jquery-ui.min.js');
    
    echo $this->Javascript->link('amp.js');
    ?>
  </head>
  <body>
    <div id="amp-header" class="ui-amp-header">
      <h1><?php echo $this->Html->link('/', Options::value('amp_title', __('Amplify CMS'), Dictionary::FILTER_EMPTY)) ?>
        <small><?php echo $this->Html->link('/', Options::value('amp_tagline', __('Powered by Simplify PHP Framework'), Dictionary::FILTER_EMPTY)) ?></small></h1>
    </div>

    <div id="main" class="ui-widget container_12">
      <?php if (!empty($notices)) { ?>
      <ul class="ui-amp-notice">
        <?php  foreach ($notices as $notice) {
          echo HTMLElement::render('li', null, null, $notice); } ?>
      </ul>
      <?php } ?>

      <?php if (!empty($warnings)) { ?>
      <ul class="ui-amp-warning">
        <?php foreach ($warnings as $warning) {
          echo HTMLElement::render('li', null, null, $warning); } ?>
      </ul>
      <?php } ?>

      <?php echo $layout_content ?>
    </div>
  </body>
</html>